<?php
require_once("Tpl/header.html");
?>
        <div id="main">
            <div class="header">
                <h1>{$SystemName}System</h1>
                <h2>Welcome, <?php if (isset($UserName)) echo $UserName; else echo "Please Login or Continue Touring" ?></h2>
            </div>
            <div class="content">
                <div class="homelogin">
                <?php
                if (!isset($UserName)) {
                    echo "<form action=\"".$UrlList['Login']."\" method=\"post\" class=\"pure-form home-form\">
                        <fieldset>

                            <input type=\"text\" id=\"loginname\" name=\"loginname\" placeholder=\"LoginName\" >
                            <input type=\"password\" id=\"password\" name=\"password\" placeholder=\"PassWord\">

                            <button type=\"submit\" class=\"pure-button pure-button-primary\">Sign in</button>
                        </fieldset>
                    </form>";
                }
                ?>
                </div>
                <div>
                    <h2 class="center">{$notes}</h2>
                </div>
                <!-- to be added -->
            </div>
        </div>
    </div>
</body>
</html>
